age = eval(input('请输入年龄：'))
if age < 18:
    print('童工，不合法')
elif 18 <= age <= 60:
    print('合法工作年龄')
else:
    print('退休年龄')


